package com.teach.customer.model.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * <p>
 * 字典表
 * </p>
 *
 * @author hzz
 * @since 2021-04-22
 */
@Data
@TableName("sys_dict")
@ApiModel(value="SysDict对象", description="字典表")
public class SysDictPO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @JsonProperty("id")
    @TableId("id")
    private String id;

    /**
     * 数据值
     */
    @JsonProperty("value")
    @TableField("value")
    private String value;

    /**
     * 标签名
     */
    @JsonProperty("label")
    @TableField("label")
    private String label;

    /**
     * 类型
     */
    @JsonProperty("type")
    @TableField("type")
    private String type;

    /**
     * 描述
     */
    @JsonProperty("description")
    @TableField("description")
    private String description;

    /**
     * 排序（升序）
     */
    @JsonProperty("sort")
    @TableField("sort")
    private BigDecimal sort;

    /**
     * 父级编号
     */
    @JsonProperty("parent_id")
    @TableField("parent_id")
    private String parentId;

    /**
     * 字典类型 1：系统字典(jeesite自带的都归为系统字典） 2：业务字典
     */
    @JsonProperty("dict_type")
    @TableField("dict_type")
    private String dictType;

    /**
     * 创建者
     */
    @JsonProperty("create_by")
    @TableField("create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @JsonProperty("create_date")
    @TableField("create_date")
    private Date createDate;

    /**
     * 更新者
     */
    @JsonProperty("update_by")
    @TableField("update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @JsonProperty("update_date")
    @TableField("update_date")
    private Date updateDate;

    /**
     * 备注信息
     */
    @JsonProperty("remarks")
    @TableField("remarks")
    private String remarks;

    /**
     * 删除标记
     */
    @JsonProperty("del_flag")
    @TableField("del_flag")
    private String delFlag;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BigDecimal getSort() {
        return sort;
    }

    public void setSort(BigDecimal sort) {
        this.sort = sort;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "SysDict{" +
        "id=" + id +
        ", value=" + value +
        ", label=" + label +
        ", type=" + type +
        ", description=" + description +
        ", sort=" + sort +
        ", parentId=" + parentId +
        ", dictType=" + dictType +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        "}";
    }
}
